<template>
  <div class="header">
    <div class="header-left">
      <div class="iconfont back-icon">&#xe624;</div>
    </div>
    <div class="header-input">
      <span class="iconfont">&#xe632;</span>
      搜索
    </div>
    <div class="header-right">
      城市
      <span class="iconfont arrow-icon">&#xeb6d;</span>
    </div>
  </div>
</template>
<script>
export default{
  name: 'HomeHeader'
}
</script>

<style  lang='stylus' scoped >
  @import '~styles/varibles.styl'
  .header
    display: flex
    line-height: 0.86rem
    background-color: $bgColor
    color: #fff
    .header-left
      width: 0.8rem
      float: left
      .back-icon
        text-align: center
    .header-input
      flex: 1
      background-color: #fff
      color: #ccc
      border-radius: 0.1rem;
      height: 0.64rem
      line-height: 0.64rem
      margin-top: 0.12rem
      margin-let: 0.1rem
      padding-left:0.2rem
    .header-right
      width: 1.3rem
      float: right
      text-align: center
      .arrow-icon
        margin-left: -0.04rem;

</style>
